package com.junlong0716.enjoylearning.ui

import com.junlong0716.enjoylearning.entity.FindItemEntity
import com.junlong0716.module.common.base.IPresenter
import com.junlong0716.module.common.base.IView
import com.trello.rxlifecycle2.components.support.RxFragment

/**
 *@author: 巴黎没有摩天轮Li
 *@description:
 *@date: Created in 上午11:54 2018/4/21
 *@modified by:
 */
interface FindContract{
    interface View:IView{
//        private lateinit var commendVideoData: ArrayList<FindItemEntity>
//        private lateinit var commendVideoItemData: ArrayList<FindCommendVideoEntity>
//
//        private lateinit var commendAudioData: ArrayList<FindItemEntity>
//        private lateinit var commendAudioItemData: ArrayList<FindCommendAudioEntity>
//
//        private lateinit var commendDocumentData: ArrayList<FindItemEntity>
//        private lateinit var commendDocumentItemData: ArrayList<FindCommendDocumentEntity>

        fun requestCommandKnowledgeSucceed(commendVideoData: ArrayList<FindItemEntity>, commendAudioData: ArrayList<FindItemEntity>, commendDocumentData: ArrayList<FindItemEntity>, commendTopicData: ArrayList<FindItemEntity>)
        fun requestBannerSucceed(headerData: ArrayList<FindItemEntity>)
    }

    interface Presenter:IPresenter{
        //获取推荐知识
        fun requestCommandKnowledge(isRandom:Boolean,activity:RxFragment)

        //获取banner
        fun requestBanner(fragment: RxFragment)
    }
}